Resolved JSHint validation errors