playing around with js, to try to fix best_in_place
updating javascript