[BUG #7224] Fixed doc links in JS samples