Fix JSLint on dom.js