Implement javelin2 destroy images

implement destroy_images function in javelin2

Change-Id: I730f239190bf1099f173d7781be035a90a911a95