Reduce assumptions in view helper

This addresses the issue pointed out by Tim here: https://github.com/hyperoslo/embeddable/issues/9
:+1: