Update the plugin to support safari 6