Js Variable In Array Literal Swift