Added missing ; in the webserver code
Also using more object and array literals instead