[javascript] add root_url to siteConfig