pass arg in callback function instead of wrapping whole .getJSON in function