Final String IntelliSense fix

Fix JS string range end handling

You merged the last PR before I could finish debugging it :smile: 
This should have no more bugs. :pray: 
(Other than the inability to press Ctrl+Space)