in attachLink.js, removed window-centering if a file or unrecognized url is entered.