tried out hidden window and xml-http-request methods