reworked jridgewell _.partial; with a focus on returned function performance + fixed bug.