A javascript based router for the organization of javascript modules and scopes