Added local timeout option for $.ajax + test