js tip | get global