removed reference to ff.dom