refactoring json content out of js file in and adding a http get call
in prep for the web api call