Some JS conversions in assets/javascripts.

A couple of files in assets/javascripts have to do with the tables (FilterTable methods, to be specific), so I left those for now.