Fixed internal links in reference manual.
Fixes #159.
Merge branch 'JS_1.8.0' into 1.8.0_master