adding in javascript