remove local snippets, get snippets from github; reduce loading time for html file