Chrome 26 and 27

Make CreateLink work on both Chrome 26 and 27.