Update api.js

API Keys have "-" rather than ":" as a delimiter