fix careplan js bug

http://manage.dimagi.com/default.asp?104283