code cleanup, rewrite events to jquery since we use mapbox and it does not have once event binding needed for addressing usability concerns