Update index.js

Fix for styles and deals