update of gitignore and fixes syntax in server.js