using node instead of php