Use array literals instead of Array constructor
Add missing semicolons