Allow the container to be empty when document is loaded.

If you want to load all the content by ajax it should support an empty container when initialized. 
This commit fixes this issue.