jshint error about dot notation