JSDoc: remove leaking globals.