1.modifed the js to fit into npm 2.added .gitignore