Added support for Safari 7.