fixed jshint warning
Fixes and polish for the graphite query editor, #117