Write me a general template code for a chrome extension