JSHandleValue usage fix