Document Details grid JS -work in progress-