Subsite Admin unable to add JS on a post

When I try to add a custom JS on my subsite > Add Post as subsite administrator, it removes the <script> tag and the JavaScript is not loaded, but if I do the same as Super Admin it works fine, please advice.