update js on basket menu