fix syntax error
fix issue with Function.prototyp.curry and "this"