fix demo for old browsers