Edit the syntax in InvokeDoc code to avoid runtime Error.

Please refer this issue on : https://github.com/blackberry/WebWorks-API-Docs/issues/339