Mini lib without deps with xhr functions.