chaged js