Fix some lint issues on the JS