* fix js error.
 * finish task #1400.