Updated javascript file