do not bail out with "invalid arguments for function XXX" on every js exception. force returning from every overloaded function case.