post the code to somefunction().
it has to be something in that function.
there is nothing that a span tag would do to cause the behavior you describe.
i was wondering why the a tag wasn't working correctly...
BROWSER STATS [% share]
(2013/12/12) IE7:0.3, IE8:7.5, IE11:4.3, IE9:4.6, IE10:7.8, FF:18, CH:43, SF:5.5, MOBILE:21.5