[TASK] Streamline JavaScript documentation