add node.js os detect and test script