changes to myevents
myevents message generation in js