add README and remove unnecessary JS code