Enable running within nodejs