Css.hasClass should return null if the className is null