contao 2.10 compatibility, correct js output