fixed scripts to use shared.deckFns instead of the now non existent functions in deck.js