You can add your class to the element when you want to use the following JavaScript:
document.getElementById("dialPointer").className += " didLoad";
Or perhaps better if you want to guarantee cross-browser support using jQuery as follows:
$(function() {
$('#dialPointer').addClass('didLoad');
});
Edit:
fiddle, Chrome Safari Windows. dialPointer didLoad. , .