seems like jshint does not know about const
var per scope rule must apply on const as well