Resolved edge case when contentScript is not initialized