In your case the problem most probably is generated because the jquery is added as a library (elxisDocument::addLibrary) and not as an external js file (elxisDocument::addScriptLink). I will check this now and notify you in a while with any fixes might be required. BTW jquery was updated to 1.8.2.