Use a constant for the API host
Remove unneeded js file includes