httpRequest.open('GET', http://〜〜〜/main.rb', true);
httpRequest.send(null);

ってするだけじゃん