functional-js update