More changes to JS