Actual fix for config problem

So, unfortunately in order to use javascript in a browser you have to put it
in a script tag. I'm not sure why this didn't fail (and in fact ran without
error where previously failing) but this is a real fix.