Apply wait cursor css only when online