Port of Aisleriot to Javascript