Added skeletons for functions referenced in server.js but not yet added.
Fixed a number of jshint errors