Fix bug with manually specified bins.
Firefox/opera compat.
Merge branch 'master' into gh-pages
grunt