Handle undefined javascript errors
Merge branch 'master' into gh-pages