Tiny bugfix to Scaffold.js