Thought I'd test and see if it is at least eval'd using add_action to wpsc_add_to_cart. This works if you're using firefox with firebug.
function theme_cart_update() {
echo 'console.log("im here");';
}
add_action('wpsc_add_to_cart', 'theme_cart_update');
What does <<<HTML
mean?