Updating js after getting linting working