rangy was not loaded correct in a requirejs environment.
Example for setting text dynamically in a div with requirejs #45