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

Waiting for code review