Doc update

In the example, `scriptTaskRunner` doesn't have a prototype and would cause an error. Also, `runTask`, not its alias `run`, needs to be overwritten.

Also, missing curly.