relative path fix in node.js index