update javascript base.