change naming in javascript