Use [] for new arrays in JavaScript

Fix the code that makes JSHint issue warnings about the use
of new Array() instead of [].

Change-Id: Id00e938d4c4df7da92397f4cf84da7d32ee5e7b8
Implements: blueprint js-coding-style-checks
Merge "Use [] for new arrays in JavaScript"