Updated javascript stuff.