update the leftside js