It seems that whenever I make a change in my code, it won't make a change in my preview, I think I read somewhere else this happened to someone. Maybe it's because of my event order.
EDIT - Added file
Develop games in your browser. Powerful, performant & highly capable.
Please see how to report bugs. I have run your project and it appears to be working fine. Please be sure to include a detailed and complete description of the problem.
I just started from scratch and it works now :)