JS restructuring

-Removed a lot of empty js files.
-Changed all js in app/assets to use new page-specific check format.