code to remove temp DOM elements from font fxn