Add support for Safari 8