Inifinite version of JavaScript Solitaire app