reapplied fixed from 38944f6274798690f4dc3b1ba51232fd439f4b60 that got clobbered in merging
reapplied fixed from 38944f6274798690f4dc3b1ba51232fd439f4b60 that got clobbered in merging

marek/WebWorks-API-Docs,blackberry-webworks/WebWorks-API-Docs