Following https://github.com/Browsercore/jsruntime-lib/issues/118 we should exposes the basic JS exceptions (eg. `TypeError`) for the APIs to use it and return it if needed.