[Preview] JS code now can obtain images ids.