Javascript documentation update