made changes to make compatible with twitter-bootstrap