Data capture using nodejs