add js snippets
add ruby snippets