Could you think of the way to remove inpage javascript executions like that.
JavaScript which is embedded into HTML page as bad as eval() in JavaScript language :)