add evnet support.

 needs custom event from
 issue of dialog with revert-option not match onChnage evnet handle in tabblets like iPad (on iOS 7.0.*).
mv support.js to js app directory
fix depends lib path