catching errors from javascript; fix null objects; correct processing of reclaimed objects
test junky code for v8