This example includes rot.js that is bundled together with your app. This is a recommended approach, as it allows you to tailor the build/compile process to your needs.
JavaScript code can be bundled/transpiled in many ways. This example uses: