At the moment an attacker doesn't even need to take control of the servers since all the code is sent without SSL so a MITM attack would be enough.
Edit: though of course if the javascript is never requested again it limits the window of opportunity to man-in-the-middle.