add package.json
fix typos and mistaken vars