Reduce assumptions in view helper

This addresses the issue pointed out by Tim here: https://github.com/hyperoslo/embeddable/issues/9
Just for my own understanding, what happened here as GitHub is not particularly helpful with the diff, haha! Tabs vs spaces?