Added listeners for loaded event on module, html, css, js