Edited to pass the JS Lint test

test is at: http://www.javascriptlint.com/online_lint.php