Get user info in Custom JavaScript Display and Grading

How i can get user id in Custom JavaScript Display and Grading?
This %%USER_ID%% work only in HTML editor.
I need user_id for authentificate with my remote service for check programs from learners.

I expanded the description of the problem. I need to create a remote check code from students on my service. I create problem with template Custom JavaScript Display and Grading. I create html and js that interact with my service. But i cannot get user id and send to my service. How I can get the userid in problem with Custom JavaScript Display and Grading? This %%USER_ID%% works only in HTML editor.