fixed jshit/lint issues in server and space.js