Minor addition to js