Is custom.js not supported anymore?

JupyterHub starts your singleuser server, typically Jupyter-Server with JupyterLab, so configuration of the front-end is mostly independent of JupyterHub.

In general it’d be helpful if you provide more information in your posts, have a read through