Adding the background javascript

May need this page to at least keep track of current tab index and for
omnibox work