Fixed issues with minification

There were a few places where the array syntax wasn't being used - this should fix those issues.