{scatterPlot,shortcut}.js : jshint corrections

Modifications in scatterPlot.js were already done but overwritten by merge
9 jobs for feature-c/test_multiple_selection in 3 minutes and 26 seconds (queued for 3 seconds)