I think it would be preferable if the ‘User Message’ templates worked without JavaScript enabled.
At present the ‘Return to Previous Page’ link is written as a JavaScript history back-1, is there any reason for this? Could EE not get the referring URL instead, or at least use JavaScript in an unobtrusive manner?
<a href="http://www.referringurl.com">Return to Previous Page</a>
The href of the link could be returned as the ref URL and then the JavaScript could be applied as an onClick meaning that with JavaScript disabled the link would still function as expected.
:?
Edit: See here!
