datagraph, check if browser is safari and make small adjustments