[jsengine] added unregisterConsumer and unregisterProcessor;