change main.js to delivery and registerSoldBook.js to sales.js and insert them in the html