passing config object to javascript as well so i can access web.xml config