Fixed jshint dynamic lookup