js_scaffold minor bug fixed