replace new Array() with literal []