removing boilerplate from chrome extension