Change template class attribute to className for IE10 compatibility 

On IE10, the Template rendering fails when trying to compile a Template that contains a call to .class
I propose to rename it .className