created do while loops

js and html plus added script src and title