// アニメーション関数
function animate(element, property, from, to, duration, easing) {
    var begin = +new Date; // 開始時間
    var timer = setInterval(function() {
        var time = new Date - begin; // 経過時間
        var pos, now;
        if (time > duration) {
            clearInterval(timer);
            now = to;
        }
        else {
            pos = easing(null, time, 0, 1, duration);
            now = pos * (to - from) + from;
        }
        element.style[property] = now + "px";
    }, 10);
}

animate(circle, 'left', 0, 500, 1000, jQuery.easing.easeOutBounce);