Support js as well as hubs for js proxy generation url. see issue 1822 f...

Adding support for /js