add unit test for affix.js
change implementation method of button bar component
add unit test for button component
fix the compatibility for old ie