added compatibility with latest changes to the chrome API
Merge pull request #122 from neocotic/chrome-api-updates

added compatibility with latest changes to the chrome API