img file and new JS