Add code samples for Ruby and JavaScript