Removed document.ready in chrome extension