removed repeated reference to JS