Cleaning up some missing semicolons, trailing commas and an unnecessary var decleration