Added parameter setting to Javascript route translator