fix typo in JS for posting to queue (bug 937988)