initial adapted simplecart.js