[master] Remove usage of deprecated injectBefore/injectAfter.

The mootools methods injectBefore and injectAfter are deprecated.
See http://mootools.net/docs/core/Element/Element#Deprecated-Functions:injectBefore