fixes syntax and reference errors; #123
adds nodejs module to build files; #123