Update to make it work in recent chrome (manifest version 2)