catch errors on not implementing JSImplementation functions, which would otherwise infinite loop