A very simple JavaScript router