Version 1.2. Added support for container element (minified version).