fix careplan js bug