No products in the cart.
Access our premium support and let us know your problems, we will help you solve them.
You could create a Javascript snippet that saves the template dir in a variable, and use this later:
<script>
var templateDir = "<?php bloginfo('template_directory') ?>";
</script>