cleanup for express 4 in server
introduced coverage in frontend tests and jslint for jshint