Update index.html

mechanizm to catch event simulate event "task" raised by the system