completing missing js integration for events