Add getLineItem to secure ajax