adding data js