make it work again in Mavericks/Safari 7.0.1