Thanks Maryna,
that worked, error gone.
so the app is running as intended in the tester, but on device after deleting an item from checkout and the page refreshes its not reading the arrays,
the service STARUSERREAD is called when page loads, but it doesnt update.
if I go back through the app and click checkout again, it then reads the arrays in STARUSERREAD
is there another way to ensure the service is called after this code is run
$.mobile.changePage("checkout.html", { allowSamePageTransition: true,
transition: "flip", reloadPage: true });