JavaScript: Better commenting support

`docco` supports the comments from `//` not from `/* */` so those will be
used for hidden comments instead and `//` for comments that should show
up in the documentation.