add Strict mode to galleryClass.js
add strict mode and separate scopte to importImgSelect.js and
import-photo.js