JS loop to display all 10 movies from API when user searches