js/results.js: simplify pythonism to work like real python

I checked how Python behaves: it accepts negative numbers from
-1 to -len(vector) only. So does now js/results.js.