On the Abel-Jacobi map for non-compact varieties