cleaning up white space
adding jshint to clean up files
modularizing the view