Get a DOM object for JavaScript, but a bit faster than usual