fix(js): add internal links to url stack