Added dependencies to package.json.
Bugfix and license file.