Determinant bundles and Virasoro algebras