Make sure xlink workaround works correctly in Chrome

see #25 for the relevant discussion