server code review - generic JavaScript fixes:
1. missing semicolons
2. missing var definitions in for loops
3. usage of === and !=== when appropriate (although not fixed many cases because == null was used to test when the variable is undefined)
4. reusing local variables (defining var repeatedly inside a function is wrong, there is no block scope)
Fixed wrong escaping in etag variable
Wrong colorYellow value in prototypes.js (the semicolom was inside the string)