Refactoring the Robot for better maintainability and consistency with similar variables.
Added the exit animation, and the transition into a win state.
Removed unnecessary sound file import.
jQuerifying a loop
Refactored the freeze frame code into its own method.
jQueryfying the loops in this.updateFreezeFrames
Refactored the code related to initializing and clearing the robot freeze frames (which are used when the player is planning).
Updated the isInPlay method for Robots to something that makes sense.  Also introduced a distinction in LevelState for robots that are respawning (not in or out of play).  Finally, changed the distinction for the freeze frames to foreground/background, which makes more sense for drawing.
Refactored the setMode method - much shorter, thank you very much.
Put the collision handling into the Robot itself.
Got rid of the respawning robots array, and fixed a bug that came about due to refactoring.
jQueryfied a loop
I realized that I was doing something already modularized into the doCollideProtocol