Functional javascript workshop