check if $el exists, so we can fetch collection before rendering the vie...

...w (fixes #500)