fix style reset of showjax for safari