now the application works in safari browser