Added event creator js