Use array literals in JS code