I recommend that we use JSLint to help us drive problems out of the code, before working further with the code.