Organize the JS file + create event page template