Moved around js files into proper directories for more organization