js 5.1
js 5.1 array manipulation