Don't add wmsVersion variable to the scope
Merge pull request #1949 from geoadmin/teo_fix_warning

Don't add wmsVersion variable to the scope