Add notes on functional JS