updating vendor js for browser compatibility