fixed firefox issues
Merge branch 'master' into gh-pages