added js file and updated readme