Update to match jslint rules