fix the js issues about the logo and the map