code refactored to replace any code reliant on cubex (htmlelement) and replace it with standard html. I think this has now been taken care of