[javascript] Tweaks to doc and dependencies