Minor js cleanup.