JSHint optimises