Add $ajax snippets
remove these snippets after ST2 conversion