Found the bug in img.js controller, commented out fault js