fixed issue with deck.js