updated readme and removed some comments in js file