override firefox's crypto class
Merge branch 'master' into chrome
but not in chrome