progress on JavaScript and functional programmin topics