hyperloop-288: Objects that are passed to blocks are never released

Remove unneccessary call to JSObjectSetPrivate(object,0), which was the source of several memory leaks.