Added AJAX download of the snippets