moved browser specific functions to browser_specific.js
Merge branch 'master' into test_deployment