Add JS docs.