changed the js