Fixed bug on photo upload screen. Removed document.on calls