You could simply set the elements class to nothing.
document.getElementById("ElementId").className = "";
If you want remove a specific class from the list of classes. just follow the bellow example.
Remove a specific class from the list of classes.