Move to dom.js?