change reference to JS