notes about formatting javascript code