Attempt at update pack.co; please read the description

I have NO knowledge of coffeescript or javascript, so all this code can be entirely rubbish, as it is just a shot in the dark. Still, here’s an attempt.

As it is known, several editions had boosters of varying contents, rarity- and card number-wise. The draft program gives a default of 14 cards per pack, however a lot of older editions had 15 cards (one additional common). This is a difference that can sometimes have some impact on the resulting decks (the 15th card received occasionally being a niche sideboard card that got actually used during a match).

This attempts to alleviate the problem, by replacing the blank special card with an additional common in a number of MtG expansions, according to this: http://wiki.mtgsalvation.com/article/Booster_pack

I left the oldest expansions (Alpha, Beta, Unlimited, Revised) alone, as well as those that didn’t follow the 15 card (11C, 3U, 1R) model.

As a final remark, I can’t find any code regarding Time Spiral here, which however seems to generate appropriate boosters (15 cards: 10C, 3U, 1R, 1 timeshifted). This suggests that this place isn’t the only code affecting pack generation… But I couldn’t find anything else.

I also left alone Planar Chaos — it needs a modification, as it also should generate 15 card boosters, however the issues with its timeshifted sheet are quite over my head.