Patch to support up to Firefox 40 and Chrome 40
Merge pull request #57 from intentmedia/trunk

Patch to support up to Firefox 40 and Chrome 40