JSHint solutions