[Updater] Fix js error. Ref #1479