Client side jsonp fixes

Fixes to load_m2m_map.js and index.html to cater for jsonp