added support for opera 11 and 12