changed request from get to getJSON