Change paths to JS