change jquery to javascript add class