cross-browser dom ready function. Mostly copied from https://github.com/freelancephp/DOMReady and (not yet) fully tested with IE and older.
$ component install bmcmahen/domready
var r = require('bmcmahen/domready');
r(function(){
// dom is ready
});
MIT