change pay js