Fixed implicit variable declarations and unneeded commas.
Merge pull request #4 from Temaruk/fix/implicit-vars-commas

Fixed implicit variable declarations and unneeded commas.