Interesting, your code is working in SAFARI, FF, IE,OPERA and Chrome in my machine,
i have only add return false in your function,
function JScriptTest()
{
PageMethods.TestPageMethod('passed this text',onSuccess, onFailure);
return false;
}
is your web.config contains xhtmlconformance,
http://weblogs.asp.net/scottgu/archive/2006/12/10/gotcha-don-t-use-xhtmlconformance-mode-legacy-with-asp-net-ajax.aspx