Make JS node compatible