remove js img objects