Hi @unbeatbale,
In portal management under content snippets
1. Account/SignIn/PageCopy
Under value(html) you can add your JS / jQuery within <script> </script> tag.
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.