fix javascript:void(0) on safari