minor fixed to test command in npm and removed dead dependencies
Working support for closures
Merged with head