move js to sell.js