You found the right solution! The specific part that was missing which you've added back in was this:
onClick="javascript:return EJEJC_lc(this);
With that in place inside the button's <a> tag and the View Cart code on the page as well you're all set. Sorry you had to work on that one, the onclick attribute was mentioned in your original code back in the first post so we didn't say anything about it.