arranging yaft js