jQuery: Promise and Deferred with getJSON