Was this really necessary? I'm pretty sure `type` will be "tied" to the scope in the callback of the getJSON.