//...etc all the other stuff you want...
tm = TimeMap.init({
mapId: "map", // Id of map div element (required)
timelineId: "timeline", // Id of timeline div element (required)
//... more stuff you want as usual...
});
// set the map to our custom style
var gmap = tm.getNativeMap();
gmap.setOptions(myMapOptions);
});