changed the js issues