sign akamai API requests in javascript