to fit Font-Awesome v4.0.1

Hi, since Font-Awesome v4.0.1 has changed its icon name type, and it's hard to find and download Font-Awesome 3.1.1 (CDN works though.). So I made the changes to let the function can work correctly with Font-Awesome v4.0.1.