install needed node modules before calling them

this prevents calling "make" as advised in the README and ending up
with a ton of error messages instead of a working build.