I recommend adding "use strict"; at the top of forms.js and site.js to enable strict mode, as it basically gives you some free automatic error checking on browsers that support it.
I've considered this a number of times but this 'Browsers not supporting strict mode will run strict mode code with different behavior from browsers that do' makes my bones shiver...
I recommend adding
"use strict";
at the top of forms.js and site.js to enable strict mode, as it basically gives you some free automatic error checking on browsers that support it.