fixed issue with customer.js