Javascript X Function Is Not Defined Inside A Chrome Extension

Javascript X Function Is Not Defined Inside A Chrome Extension