added Function.bind compatibility (bind not implemented in android 2.3.3)