makes pass JSHint