move to jshint compliant syntax