make jsHint compliant