more configure.js cleanup