use asynchronous option with xmlhttprequest