steam web api abstraction in js