Added deck submitting
Moved to using requirejs to load packs