[javascript] How to decode jwt token in javascript without using a library?