update readme and javascript