now passing JSHint