fixed IE10 damn port comparison

Hi @igor-alexandrov, 

I found a bug :bug:, it took some time to find out why IE is not working correctly with wiselinks. I guess the source is more or less self explaining. It´s difficult to write tests, in this case I tried it on my VM with IE10. With Chrome, Safari and Firefox. 

To reproduce, use browserstack.com or what else to get an IE and try your example page. It is not using ajax to get content.

Have a nice weekend and with best regards. :+1: