JS:  fixed parsing of link-in-link-in-image.

Partially addresses #252.

Still need to:

- update C parser.
- put an example in the spec.