Update javascript for traffic widget