Small change to JS structure.