without Jquery working in safari