var Mapbender = { events: { }, modules: { }, getTimestamp: function () { var d = new Date(); var ts = Math.round(Date.parse(d)/1000); return ts; } };