Added Array Method to JS file.