Update to js