Changed to allow any origin to contact the API
Simple JavaScript application that uses the API