Backport Fix #1097: Emit 'new js.Array' as '[]'.

(cherry picked from commit 0a52e5b7715714e2da22edec8e7e1112ca7c20a9)