Revising readme and adding js file