Dynamic js rest base url config.