Simple router in javascript I made you know.