js camelcase and lint, if to switch, singlequote