Legacy mobile API Javascript.