Update jquery to fetch max speed