Added javascript popover comment event

Pending fix the color field