My brother did mentioned that it could be the WebGL that may cause the lag to occur. Unfortunately, I don't think we can upload a download link through Game Jam, but that is good to know what to do next time, especially when this game has multiple enemies.