How to use $current_user in js

Hello everyone
i want to know how can i use the global varibales or suiteCrm in JS file
for example ; i want to hide a change_log btn (found in DetailView) for all users except ADMIN

Thank u for ur help