Ecommerce framework in javascript