changing some of the js