Moved js to deals.js