Adding notes for javascript templates