Javascript doc update