Changed get-locations ajax request from a POST to a GET to work with
current CloudFront configuration.