fix evaluation of babascript in ruby  #4