clean up
Merge pull request #13 from Nhare/JS-array-methods

clean up