[IMP]planner:remove unnecessary method and clean some js code.