Added new snippet form and post snippet using AJAX.