add image handling js (broken)