fix some style and js bug