A stripped down version of the better-dom project for use with jQuery