Removing cruft, adding better organization of JS files

Tested and verified the new directory structure, as well as the Gruntfile.js. Finally, added Require.js for better management of Javascript files.