Fully jshint compliant