remove broken javascript