Added vhost to all javascript url generation to fix absolute path
assumptions in our static UI code.