Array Functions In Javascript With Statement