Move the PhotoView template into our HTML file, instead of inline in JS. Easier to read and maintain. - note, I would use th require.js text plugin, which lets you have individual template files, but this does not work on local file dev, which is an aim of this project