Ran it through JSLint