Issue #57 add javascript to photo view