A bunch of  js utilities not using the DOM.