addphoto_cleanup: keep lang.js and mark.js
addphoto: fix error in header handling