porting the storefront prototype to the new nodejs prototype