VanillaJS 2 - modularized, includes routing

Another "vanilla" implementation. Noticed that I would write a pure
JS implementation a little differently than the existing one.

It could be useful for people to see that there are different ways
of accomplishing the task without frameworks.