Prototype: function setResidents() added
Prototype: remove debug console output from setResidents()
Prototype: move everything related to DOM manipulation to own js-file
Prototype: formating fix