modifying link behavior to work in browser