remove use of attr(), closes #334
remove href of <a />
use native dom element