A quick javascript to shuffle arrays