Updated javascript base