added missing semicolons and added jslint node option