Jordan Wilson Submitting MagicNums.js, duel.js and beer.js

Comment describing what this function accomplishes