gemfile typo fix
smarter use of Photo as instance with db stored
make javascript live for index.html