Minor formatting changes

Fixed some missing semicolons and switched to array literal notation.