updated js and styles for decks