update javascript base