minor js updates