Minor NodeJS fixes + added successfully flag to finished() API