Updated the getAbbr so it works in Firefox and IE too..