[js] tnum: improve integer literal parsing - support 0Xxxx, 0Bxxx, 0Oxxx, 0oxxx
[js] add test for integer literals