change to js