Update action.php

inline `script` should not have a `charset` attribute