Support for modern Chrome

Manifest and event handling were updated to work in modern Chrome (Released after January 2014).