fix JSHint warning
1 already defined
2 missing semicolon