Added support for creating views on the fly for elements (good for registering views on ajax loaded content)