commit JavaScript basic note