add js router
fix create process for clients