update the js for real