Couple of function for avoiding jQuery.