I am not having issues of optimisation, even the front page takes like ten minutes to load; "loading unicorns...". I seriously do not know what kind of JS they write. But I remember reading a post by a front end dev which said the following:
"I went to interview for a front end position at a big company and in the interview, I wrote a very optimum JS code for something and I got laughed at, the interviewer saying in this era of 64GB rams and stuff why do you need to bother about optimising JS"
sorry, can't find the source.