using jQuery.isArray instead of instanceof Array

returning null from parseResponseTimeOpt function if its not a number