Jslint+nullattrs

Avoid attributes of null value in addition to undefined (otherwise causes errors)