delete unused image + import js