changes to js