Change template class attribute to className for IE10 compatibility