my tryout of routing in pure js