updates for the js