Hi:
Try nopdesign's cart.
It's also javascript, very easy to integrate into 4images and has a very active support forum that will help you.
My website isn't up yet, but i have integrated nopdesign's cart easily.
run a search to get to the website. i believe it's called nopcart!