changed to $.ajax

from $.getJSON for better error handling
valid code again! yay!