added support for multiple containers; support for blur in firefox