What is the best way to add javascript to Drupal theme now that drupal\_add\_js is gone?

I want to use specifically jQuery ui animate, which I suspect is in Core, but I cant find out how to add it to my theme.