Fixed crash when calling winston without opts

When opts was not provided crashed when calling winston.add.
Added missing semicolons.
Removed trailing whitespace.