Links: Parsing in Ruby and JavaScript