Add js routing