Make js work with node