Added XMLHTTPRequest code to LF