now checking contao version and output valid js code
Merge pull request #2 from kaipk/master

contao 2.10 compatibility, correct js output