* reduce scope
* renamed param and var
* fxed bug #5205 (cursorTooltip disappearing on reload)