Separate map setup from robits.js

More to come.