Fixed package.js to be able to post XAR files to XWiki so that attachments are loaded.