Starting to play nice with JSHint