Put the code through JSLint, my oh my :)