implement qr scan ajax

some map changes