Basic JS Superglobal Object prototype extender for DOM objects