Skimming the code I see main.js hasn’t got a single semicolon.
If you want to invite others to contribute, you may consider adopting a more widely employed js code-style.
This seems to be written in a very personal, opinionated and unconventional way.