How to eliminate render blocking JavaScript files without async or defer? [closed]

I’m trying to rectify performance issues of website https://www.writtenlyhub.com/ but I’m not being able to completely eliminate render-blocking resource.

Deferring the file or async is not working. The js files are never getting executed when async or defer is used.

Note:I have the same header file for all the pages and the location of these files are dynamically loaded using php.

Can someone please help me out here?

Thanks