Add readme.md and update js file