What is below jQuery code performing ?
inputMapVar.each(function(index){
$(this).prev().removeClass(MISSING);
});
This code is looping through (.each()) the elements of inputMapVar and getting the element before each one (.prev()) and then removing the class from that element (.removeClass()) with the class name to remove being the value of the variable MISSING.
Edit Just for the sake of clarity, $(this) gets the current element in the loop in this case.
Nothing.... if "MISSING" were in quotes, it would remove the CSS Class ".missing" from each of the previous elements that match whatever inputMapVar is.
$.each(),$.prev(),$.removeClass().