added esprima, adding event-handling as html attributes to dynamically created HTML elements