Updated javascript to pull page data from a sample json file.