add just refactoring, now the getJSON call for getDemographics wont work :-(