parentDiv.appendChild(childElement);
document.addEventListener("DOMContentLoaded", function() {
const xmlHttp = new XMLHttpRequest(),
div = document.getElementById('music_all_ajax');
xmlHttp.open("GET", '{{ route('music ') }}', false); // false for synchronous request
xmlHttp.send(null);
div.insertAdjacentHTML('afterbegin', xmlHttp.responseText);
});