added initial asserts
nailed the problem to onreadystatechange
close to the solution
first fix
rollback initial changes
Revert "first fix"

This reverts commit c60124803035859ae7efa82900ceb149ffc94ac1.
Revert "rollback initial changes"

This reverts commit d608392511579992b3039f8cd1c1a2ec8778b47c.
Revert to original situation
Second attempt to revert
isWindowsPhone80
fix version 1.0
final solution
included the WP8 check