Issues/commercial/470 hart map js error - pull map_box out of desk-only class

This "looks ok" to me, and the javascript error seems to be gone, will ask @davea to review to make sure it's sufficient/doesn't break anything!