fixing the demo loading on firefox