fix indent in js + img load