makes changes to js