add requirement for js routing