I'm confused by why we're doing this in Javascript. Why aren't we creating a backend view to add the course to the cart and then forward them to the right next destination?