Commit myapps with AJAX