Wrapper on the chrome extension api