Fixed confusing variable naming in "add to cart" closure; increased efficiency by leaving the function as soon as a duplicate is found.
Fixed bug -- comments did not refresh correctly after lightbox login.
Added some missing global declarations.