boilerplate stuff for Chrome