[fix] Removed pointless variable
[codestyle] Added missing semicolon and removed pointless semicolons
[codestyle] Removed pointless semicolon and added missing semicolons.
[codestyle] 'undefined' --> undef = 'undefined' variable reference