{literal}
<script type="text/javascript">
-cj(function() {
+CRM.$(function($) {
// Note: Queue API provides "#remaining tasks" but not "#completed tasks" or "#total tasks".
// To compute a %complete, we manually track #completed. This only works nicely if we
// assume that the queue began with a fixed #tasks.