fix to pipeline error text

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
improve logging on js console; check and skip loop if workflow name not found

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>
overwrite js log files on each run

Signed-off-by: Zarrar Shehzad <czarrar@gmail.com>