opy updates to the javascript and the readme