take sort out of recursion in script_tags.rb