update js in dist and demo directories to latest build