update js for align button search