[ticket/12372] Use jQuery for JS dE() function and unify across all files

The javascript function dE() now uses jQuery and has been unified across all files. This will make sure that we no longer have weird behavior if one for example uses this function in the ACP the same way as during posting.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-12372