Fix bug where production JS didn't get an expected value on load. (#308)