moved javascript configuration vars out into site config, added config for API baseurl