Adding readystatechange listener to link.import.