Fixes for JavaScript (Node.js) generator build & tests

Includes fixes for make process and test classes.