code: function completed() {
  	document.removeEventListener( "DOMContentLoaded", completed, false );
  	window.removeEventListener( "load", completed, false );
  	jQuery.ready();
  }
docs: The ready event handler and self cleanup method