Added confirmation to collation task

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Just use LF for line end on writeLine()

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Updated task invoke js

Signed-off-by: Tom Wright <tom@inflatablecookie.com>