More firefox compat.
Merge branch 'master' into gh-pages
grunt