If the author needs to upload JS & CSS, I highly suggest to reconsider the requirement as the author shouldn't be dealing with code, doesn't sound like a good practice.
However, technically you can do this using the embed core component, as @arunpatidar mentioned, which allows the author to put in...