fix #1088: don't remember return_to paths with /stylesheets/ or /javascripts/