Fix Javascript error in MathEvent.js. #562
Merge pull request #565 from fred-wang/issue562

Fix Javascript error in MathEvent.js. #562