minimize code for server start
fixed semicolons errors for jshint