I think the cleanest option (from a user perspective) would be:
- redirects are always "wikitext" content, whether they're in pages named *css/js or not;
- loading a JS/CSS page which is a redirect actually loads its target.
So the redirects would work consistently.