Added Safari compatability with the flipper demo.