Remove Javascript inline comments + improved detecting whether the pointer is in a string or not