correct get className under IE < 8