Move JS out into kiosk.js, export only non-scary stuff