fix div that contains random javascript code