You should also look at the traffic with Fiddler or Firebug to see what's going back and forth. you may see an error there. Also try debugging with the unminified version to see if you can spot the issue.
The may be too obvious, but your comma at the end of this line valuepairs: value, will cause an error.
M.