The javascript routine successfully detected the mobile device, it will catch most of them, and it turned off the inset map.  This committ is just to get rid of the commented code.