Please turn on JSLint. There are some JSLint errors in this file.