Don't create subviews if there is no container

Look for $subviewContainer.length before creating the subview
Merge pull request #9 from roberttod/patch-1

Don't create subviews if there is no container