added support for custom event listeners on bootstrap stage