Issue 36:Modified js for make primary image in finish upload

Issue: Cannot find the closest .sec-img class