modified uploadXML.php to accept and add.js to pass category for use of switch statements