Moved from call() to $.proxy() to increase compatibility.