Add notes to Javascript