JavaScript: Backspace issue in multiline comment

* Fixed #584.