Revert "Pass rangy as a parameter to the closure"

This reverts commit 67a0e53d4b159b276c8eb4201a440a604a6049ba.

Loading rangy in such a way doesn't work with the way
jquery.ime is loaded in the MediaWiki ULS extension.
The issue is reported as
https://github.com/wikimedia/jquery.ime/issues/266