DOM IE Fix

Fixed an issue with dom.js and Internet Explorer (as late as IE 10).
IE 7 DOM Fix

In IE 7 elements pulled from the DOM aren't of the correct type, so adding member functions to the prototypes of the correct objects has no effect.

Accordingly, turned the DOM utilities into static functions.