That slowness might be related to your network, I'm not experiencing the slowness loading the ai.0.js. I think there's very limited things you can do on your side, better to raise a support ticket.
By the way, usually it is the first time that would consume some seconds, then in sequent loadings it will load from the disk cache, do you experience any slowness after the first load?