Updated javascript and readme.