Changes to method for displaying tokens to work with IE.