Accidentally left bad header name in before commit
Clean up indenting
Switch to using api-config.js resource
for source of API variable data
Fix onAjaxError function to better display errors
Beta page sends API-Key header
Closes #5