Added support for already existing "js_callback" definition, that will be called immediately after the component's initialisation.