[js] generate array literal for "new Array<T>()" expressions as it still seems to be the fastest way (see http://stackoverflow.com/questions/7375120/why-is-arr-faster-than-arr-new-array)