Page actions: JS API for events
Separated JS files for better maintenability
Javascript events and manually calling actions