add js file and xpi