Library for boilerplate chrome extension functions