Removed REST API, added JavaScript.