Account SDK implement in JavaScript