update API key
use map to tranform tokens
use jquery instead of zepto
refactor to use promises