functional js partial application without binding