finally found the bug: test.html offset is always 0 or very small, so wrapper.position() works but in asp.net  the wrapper.position() is just plain wrong
currently there is a hard coded workaround: TODO FIX THIS