Simple module to detect dom ready, without jquery