function of checking classList support isn't worrking

classList object is belong to div element, not style property
Merge pull request #892 from lenny0702/patch-1

function of checking classList support isn't worrking