remove outdated parts of the javascript docs; fix links (thanks to Pierre De Wilde!)