Renamed js files, removed unnecessary js files

To simplify the js folder a bit, removed old unused PluginDetect and did
some renaming which for the most part standardizes the JS file names.