[MOSYNC-3294] Added support for destorying images in JSNativeUI.