Added event listening on component template loading. Now components are also server-side responsive.