[Edit] Centralized scripts to work with all forms of retroTrack (embedded, static, and normal).
[Edit] Updated static exporter to work with recent changes to JavaScript.