Fix syntax warnings in export.js