changes in javascript