Complete - task : Make AMD compliant (loadable with requireJS)

change textEngine to hypertext