fix bootstrap.js, add click handler for photo