Minimal Promise ajax library based on Q