oop js for map drawing, refactored sql/data loading

looks real good, could possibly drop into RU too