Added some ruby snippets and js snippets