[JS] RouterComponent in progress

Test to be done and also the cpability to extend source on-demand.