Implementation of JavaScript APIs