A very simple javascript router