Fix a few lint-y JS issues