When building a map (map.js), it crashes when there are no properties
This happens when the map was created witha newer version of tiled which doesn't store a properties object if there are no properties. We should just default the properties value on the mapFile before trying to build it.