A Simple JavaScript Example for While Loop