Added some handy UI utilities
Removed duplicate submitonenter defs, fixed merge on dom.js