Javascript api client for the Public Media Platform