There's tons of little utility features like this that are IMO the core of why people use libraries in javascript, but could easily be replaced by a common library offered by the browser.
Base64/hex/binary conversion, type checking, DOM access shortcuts, etc. etc.