Added helper function removeHTML