DOM based deck maker