now checking contao version and output valid js code