Magical simulator fix

I have no idea why it works but it does. Removed some comments and
changed the code to look like the updated client.js file. The trick
seems to have been changing self.rooms to this.rooms from around line
820 onwards.