Added initial server code
Fixed jshint error