* code for task#1639.
 * code for task#1621.
 * fix a bug : planID is undefined in create page.
 * fix a bug : merge ajaxGetPlans function.
 * fix a bug : merge ajaxGetPlans function.