javascript widget for laying out a Magic: The Gathering deck or cube