I developed a Chrome extension and it injects code into a website that is loaded on the active tab. My code is fairly complex and long with bunch of global variables and fun