fix some js errors
update readme.md