fixed large js bug, added new photo view page
also added photo upload to Amazon S3