Update action.php

inline `script` should not have a `charset` attribute specified, linked script can