Yes, the JS code is creating all the HTML.
Yes, it's very complex, probably to keep out prying eyes.
No, it's not impossible to decode; just very tedious to do so and would take a long time.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.