Make setCursor public.
JSCS tweaks.
Revert JSCS tweaks for single-line return statements.
Merge pull request #1462 from Kienz/patch-1

Make setCursor public