Line Items JS errors