added error handling for basket.js (bugid:110314)