Fix JS linting

This will improve our code climate score.