photo_placer.js cleaned from debug func