delete global variables in html page