Should have used JSHint...