Pure JS alternatives to common CSS class jQuery functions