trying ajax get method instead of getJSON method due to cross-origin domain policy