Move JS files into folder

This commit moves all of the javascript files into its own folder to
clean up the project directory.