combined api object - changed index.html