improvements to javascript cart and comments