fixed errors and updated version number for npm
updated readme