Added "noop" (empty) function. Added timeout to ajax. Normal ajax request will return xhr object and JSONP request will not return anything.