Added node.js dependencies
Added magic number support to main.c