If you will upgrade to jQuery 1.9 and use custom templates, you will face this error:
Uncaught Error: Syntax error, unrecognized expression:
This causes
line: 59:template = tplContainer.html();
Change to:
template = $($.parseHTML(tplContainer.html()));
http://bugs.jquery.com/ticket/13223