added ajax replay method and fixed retry logic
Merge pull request #138 from akhileshgupta/forcetk_changes

added ajax replay method and fixed retry logic