Browser Scripting using Ruby