Update javascript docs.