support fire event object. Fixes #632
support plato.js
rebuild