fix(js): do not use className property when dealing with old IEs