Refactored view.html, fixes #213

I've refactored view.html, but I wasn't sure whether to include the javascript at the bottom of view.html or not. I didn't, for now, because we might want to reuse that for albums - needs some more thought. For now, this will do.

@SirCmpwn - clear to merge.