By the way the signature for gpii.uiOptions.enactors.cursorSize.set is also wrong, since it looks like it takes a "that", but the argument called "that" is really just a jQuery element. You should just call it something more specific.