This example includes rot.js using a pre-built JavaScript bundle. Every browser supports this mechanism without the need to bundle/compile your code. You will, however, always load the complete library, even if you plan on using only a small part of it.