minor update to js