Fix inline javascript for comatible with xhtml 1.0 Strict