Passing JSHint tests