spider solitair on javascript