adding js files to play the videos one by one