why are we adding an inline script here in the href?