Browser version of functional-javascript