Do While Loop Program In Javascript