Small js updates