added dependencies and tested with npm