Run through JS Lint

Ran your validate script through lint to tidy things up. Cleaned up things like strings must use single quotes and un-necessary semi-colons and commas.