fix promotion.js and change main.js