How to add enctype to multipart/form-data to comment form?

One Trick Pony answered the question, here’s his solution:

jQuery('#comment_form')[0].encoding = 'multipart/form-data';

And here’s a jsFiddle of it.