Update action.php

inline `script` should not have a `charset` attribute
Merge pull request #6 from mprins/master

Update action.php