fix firefox bug
Merge branch 'master' into gh-pages

* master:
  3.1.2
  html files
  fixed p.json
  use workingDirectory
  update counter html
  html
  updated examples for casper
  added casper tests
  prevent bmi sliders resetting
  3.1.1
  updated html
compile geometry fix back in