Changed array notation

Appearantly, IE8 crashes when using comma after the last entry in an array. After this change there is no problems with IE8.