Nowadays everything is possible with JS. Go deep dive with JS and that will be enough I guess.
Keep on with JS and learn Node. - Node is easy to start with and powerful. It can help you learn the basics of working with servers, authentication, authorization, middleware, etc.