add json-html format for create event action
rm unused js