switched to jtmin.js event handling