fixed firefox related issues with all demo apps