sinatra server controlling browsers on macs and windows