How to add new element to the Array in JavaScript