Fix problem with html template and proxy_url defs. Fix error msg in js code.