Fix #125: Correctly resolve overload when converting scala.Function to js.Function