Rather than using a library with a bunch of utility functions that you may or may not need, using individual utility functions indeed does seem like a better idea.
For example, I don't support browsers without classList, so I don't need your regexp stuff. Maybe you do, but my code shouldn't be larger because of that.
For example, I don't support browsers without classList, so I don't need your regexp stuff. Maybe you do, but my code shouldn't be larger because of that.