Made phpjs node compatible.