function animateBounce() {
marker.animateBounce();
}
setInterval(function() {
animateBounce();
}, 10000);
var animateBounce = setTimeout(function tick() {
marker.animateBounce();
animateBounce = setTimeout(tick, 10000);
}, 10000);