Minor js updates