remove html element from js file