Javascript Do While Statement Javascript Console Print