Update index_apex.html

passes in event name dynamically