Add comment support at end of line

Unlike a whole comment line. A trailing comment does not appear in the
javascript source. That should be fixable but less urgent