Prototype: added schedule functionality with JavaScript, JSON, AJAX