more changes to js