Bugfix
Fixed an issue where setMode() could be called before the helper was ever loaded, thus causing an invalid function error.
Fixed an issue where setMode() could be called before the helper was ever loaded, thus causing an invalid function error.