Updated javascript.