really basic browsing with vanilla js, for fun