modified the customer.js and made more simple and easier functions