Fixed bug in PhotoView.ts
Removed ph.barthe pseudo namespace from JavaScript code.
Added view.ts interface.