Fix unittest and add trigger
.add trigger.js and test
 .remove opra from testSuite temporary
 .add debugHtml
 .fix unittest