Update textwizard.js

updated js code for contao 3.1 with mootools 1.4.5 cause injectAfter/injectBefore is deprecated
See: http://mootools.net/docs/core/Element/Element#Deprecated-Functions:injectBefore