[MacRuby] #1226: Ruby methods are not available to JS objects within a windowScriptObject unless respondsToSelector is explicitly called