You don't even need to create a dom.js function in this case.