Fixed issue #7748: Javascript comment hick-ups