Generally I'm trying to move this stuff to namespace.js which is our init file (to limit the JS files we do interpolation on). I will move it there.